
KC8 Button API
==============


Functions:
==========

setLabel( text, textFormat, html )
----------------------------------
Text

Label text

TextFormat

textFormat object specifying font properties and alignment.

example:

myTF = new TextFormat();
myTF.font = 'Arial';
myTF.size = 12;
myButton.setLabel('Caption',myTF);

Html

When set to true, you can use html code inside the label text.



Properties:
===========

embedFonts
----------
Analog to textfield.embedFonts


Events:
=======

onClick()
---------
Event called when button is clicked.
